<template>
    <!-- 第一步   -->
    <div class="login-wrap">
        <!--    第二步，增加element ui    -->
        <!--    第三步   -->
        <el-form class="login-container">
            <!-- t头部信息 -->
            <h3 class="title">用户登录</h3>
            <!-- 输入框 -->
            <el-form-item>
                <el-input type="text" placeholder="账号"></el-input>
            </el-form-item>
            <el-form-item>
                <el-input type="password" placeholder="密码"></el-input>
            </el-form-item>
            <el-row>
                <el-col :span="12">
                    <el-form-item>
                        <el-row>
                            <el-input type="text" auto-complete="off" placeholder="验证码"/>
                        </el-row>
                    </el-form-item>
                </el-col>
                <el-col :span="12">
                    <img />
                </el-col>
            </el-row>
            <el-form-item>
                <el-button type="primary" style="width:100%;">
                    登录
                </el-button>
            </el-form-item>
        </el-form>

    </div>
</template>
<script setup>
import {} from 'vue'
</script>  
<style scoped>
    /*第一步*/
    .login-wrap {
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding-top: 10%;
        background-image: url();
        background-repeat: no-repeat;
        background-position: center right;
        background-size: 100%;
    }

    .login-container {
        border-radius: 10px;
        margin: 0px auto;
        width: 350px;
        padding: 30px 35px 15px 35px;
        background: #fff;
        border: 1px solid #eaeaea;
        text-align: left;
        box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.1);
    }

    .title {
        margin: 0px auto 40px auto;
        text-align: center;
        color: #505458;
    }
</style>
   